reftests: get icon-vfuncs test almost working again
authorMatthias Clasen <mclasen@redhat.com>
Fri, 29 Jan 2016 17:20:31 +0000 (12:20 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 29 Jan 2016 18:10:03 +0000 (13:10 -0500)
The remaining difference here is GtkArrow, which is deprecated
and has not been updated to the latest CSS rendering standards.

testsuite/reftests/icon-vfuncs.css
testsuite/reftests/icon-vfuncs.ref.ui
testsuite/reftests/icon-vfuncs.ui

index 00ce4ed01ba0a044ad0606cc11ee0caf6dd3fbf3..ceee34ed3168ceb9aaf5d1a6b2f6a8001213135a 100644 (file)
@@ -2,12 +2,8 @@
 
 * {
   -gtk-icon-source: url("green-20x20.png");
-  -GtkCheckButton-indicator-size: 16;
-  -GtkCheckButton-indicator-spacing: 0;
-  -GtkArrow-arrow-scaling: 1.0;
-  /*666666666666666666667;*/
-  -GtkExpander-expander-spacing: 0;
-  -GtkExpander-expander-size: 16;
+  min-width: 16px;
+  min-height: 16px;
   font-size: 20px;
 }
 
index ccb08c6a970bfbcded68dd10454b11fb1db5fa76..eb9e712f32258d50da21ced245410987a6dd8e30 100644 (file)
             <property name="width_request">16</property>
             <property name="height_request">16</property>
             <property name="halign">center</property>
-            <property name="valign">start</property>
+            <property name="valign">center</property>
             <property name="visible">True</property>
             <property name="can_focus">False</property>
           </object>
index 52d71bfc462a7938e406b7997a3fe587b7fcbb60..31a55fa400a5b1639a6bc329fc4a1507663a48ae 100644 (file)
@@ -23,6 +23,8 @@
           <object class="GtkSpinner" id="spinner1">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="halign">center</property>
+            <property name="valign">center</property>
           </object>
           <packing>
             <property name="left_attach">1</property>
@@ -80,6 +82,8 @@
             <property name="receives_default">False</property>
             <property name="xalign">0</property>
             <property name="draw_indicator">True</property>
+            <property name="halign">center</property>
+            <property name="valign">center</property>
           </object>
           <packing>
             <property name="left_attach">1</property>
@@ -94,6 +98,8 @@
             <property name="xalign">0</property>
             <property name="active">True</property>
             <property name="draw_indicator">True</property>
+            <property name="halign">center</property>
+            <property name="valign">center</property>
           </object>
           <packing>
             <property name="left_attach">1</property>
           <object class="GtkExpander" id="expander1">
             <property name="visible">True</property>
             <property name="can_focus">True</property>
+            <property name="halign">center</property>
+            <property name="valign">center</property>
             <child>
               <placeholder/>
             </child>